Smush\Core\Modules\Helpers\Parser S

Total Complexity 48
Dependencies 2
Dependents 7
Total lines 374
Lines of code 152
Logical lines of code 94
Comment lines 167
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
init()
A
52 9 25
get_background_images()
S
51 7 27
parse_page()
S
59 6 16
get_images_from_content()
S
57 6 16
process_background_images()
S
55 4 20
process_images()
S
58 4 15
add_attribute()
S
63 4 9
enable()
S
70 2 6
disable()
S
70 2 6
get_attribute()
S
73 2 4
remove_attribute()
S
77 1 3
get_links_from_content()
S
73 1 5